from rest_framework import routers
from .views import UserFavMovieViewSet,UserStarMovieViewSet,UserMovieShortCommentsViewSet,MovieShortCommentsReadAllViewSet

from django.conf.urls import include,url

router = routers.DefaultRouter()
router.register(r'star', UserStarMovieViewSet)
router.register(r'fav', UserFavMovieViewSet)
router.register(r'movie/short/comments',UserMovieShortCommentsViewSet)
router.register(r'comments/movies/short/all',MovieShortCommentsReadAllViewSet)

urlpatterns = [
    url(r'^', include(router.urls)),
]